package com.huabo.system.oracle.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huabo.system.oracle.entity.TblFinanceData;
import com.huabo.system.oracle.entity.TblFlowdes;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.spring.annotation.MapperScan;

import java.math.BigDecimal;
import java.util.List;

@org.apache.ibatis.annotations.Mapper
public interface TblFlowdesMapper extends Mapper<TblFlowdes> {

    @Select("select * from TBL_FLOWDES where FLOWID= #{flowid}  ORDER BY POSITION ")
    List<TblFlowdes> findBysqlFlowds(String flowid);

    @Delete("DELETE FROM TBL_FLOWDES WHERE FLOWDESID = #{id}")
    void deleteByid(String id);
}
